package com.hudongwx.godoffood.activity.myActivity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.hudongwx.godoffood.R;

import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;
import org.xutils.view.annotation.ViewInject;
import org.xutils.x;

@ContentView(R.layout.activity_my_more)
public class MyMore extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        x.view().inject(this);
    }
    //客服中心
    @Event(R.id.my_more_rl_1)
    private void service(View view){
        startActivity(new Intent(this,ServiceActivity.class));
    }
    //关于我们
    @Event(R.id.my_more_rl_2)
    private void aboutUs(View view){
        startActivity(new Intent(this,AboutUsActivity.class));
    }
    //版本信息
    @Event(R.id.my_more_rl_3)
    private void version(View view){

        startActivity(new Intent(this,VersionActivity.class));
    }
    //我要吐槽
    @Event(R.id.my_more_rl_4)
    private void opinion(View view){
        startActivity(new Intent(this,OpinionActivity.class));
    }
    //返回拦截
    @Event(R.id.my_more_iv_back)
    private void back(View view){
        finish();
    }
}
